#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H

#include <QtGui/QWidget>
#include "ui_loginwidget.h"
#include "dt.h"
#include "register.h"
#include "find_pwd_widget.h"

class loginwidget : public QWidget
{
    Q_OBJECT

public:
    loginwidget(QWidget *parent = 0);
    ~loginwidget();

private:
    Ui::loginwidgetClass ui;
    void ReadXml(const QString& xml);
    void SetSoftKeys();
    DtHttp* dh;
    
private slots:
	void on_btnFindPwd_clicked();
	void on_btnRegister_clicked();
    void finished(QNetworkReply *reply);
    void DtLogin();
    void DtExit();
    
};

#endif // LOGINWIDGET_H
